package net.kleinhenz.norabase.client.datasource;

import com.google.gwt.user.client.rpc.AsyncCallback;
import java.util.Map;

import net.kleinhenz.norabase.shared.SortOrientation;
import net.kleinhenz.norabase.shared.TextMatchStyle;
import net.kleinhenz.norabase.shared.model.Battlegroup;
import net.kleinhenz.norabase.shared.model.FetchResult;
import net.kleinhenz.norabase.shared.model.Rune;

public interface BattlegroupListDSServiceAsync {
	
	public abstract void fetch(int start, int end, Map<String, SortOrientation> sortSpec,
			TextMatchStyle textMatchStyle, Map<String, Object> criteria,
			String accountId, AsyncCallback<FetchResult<Battlegroup<Rune>>> callback);
}
